package com.tfswx.fljdmxyy.dto.pzgl;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 新增系统配置项入参
 *
 * @author 唐晓宇
 * @date 2023/03/24
 */
@Data
public class PzxAddInputDTO {

    @NotBlank(message = "pzxbm-不能为空")
    @ApiModelProperty(value = "配置项编码", example = "logging.level.root", required = true)
    private String pzxbm;

    @NotBlank(message = "pzxz-不能为空")
    @ApiModelProperty(value = "配置项值", example = "info", required = true)
    private String pzxz;

    @ApiModelProperty(value = "备注")
    private String bz;

    @ApiModelProperty(value = "配置项描述", example = "日志级别", required = true)
    private String pzxms;

    @NotBlank(message = "pzxlx-不能为空")
    @ApiModelProperty(value = "配置项类型", example = "'1'", required = true)
    private String pzxlx;

}
